#include <stdio.h>

enum COLOR {RED, YELLOW, BLUE, COUNT}   ;

int get_idx(enum COLOR c);

int main(){

    switch (0)
    {
    case RED /* constant-expression */:
        /* code */
        printf("%d", RED);
        break;
    
    default:
        break;
    }

    

    printf("%d", get_idx(YELLOW));
    printf("%d", get_idx(1));


    


    return 0;
}

int get_idx(enum COLOR c){
    return c;
}